//
//  CZMenuButton.h
//  i0S007通用项目
//
//  Created by Apple on 16/2/19.
//  Copyright © 2016年 Apple. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CZMenuItem;

@interface CZMenuButton : UIButton

// 记录模型
@property (nonatomic, strong) CZMenuItem *menuItem;

- (instancetype)initWithMenuItem:(CZMenuItem *)menuItem;

+ (instancetype)menuButtonWithMenuItem:(CZMenuItem *)menuItem;

/// 当屏幕方向改变的时候,根据屏幕方向设置按钮的相关属性
- (void)setupButton:(BOOL)isLanscape;
@end
